﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microhard.Core.Algorithm
{
    public class AttrAlg
    {
        public static object[] GetCustomerAttribute(object model, Type attributeType)
        {
            Type modelType = model.GetType();
            return modelType.GetCustomAttributes(attributeType, false);
        }
    }
}
